new Vue({
	el: '#main',
	data: {
		list:[]
	},
	filters:{
		joinTypeFilter:filter.joinTypeFilter
	},
	methods: {
		plusReady: function() {
			var context = this;
			ajAjax("app/meeting/listMyMeetings.do", '', function(data) {
				context.list = data.Rows
			}, function(err) {
				mui.toast('活动列表查询失败')
			});
		},
		openActiveList:function(){
			commonOpenWindow("active.html", "active.html", null, "0")
			
		},
		scanCode: function() {
	 		commonOpenWindow("mine/scan.html","mine/scan.html",null,"1")
		},
		openMyActive:function(){
			 commonOpenWindow("active/my-active.html","active/my-active.html",null,"1")
		}
	},
	mounted: function() {
		if(window.plus) {
			this.plusReady();
		} else {
			document.addEventListener("plusready", this.plusReady, false);
		}
	}
});